import request from '@/utils/request'

// 查询运费
export function queryDeliverFee(query) {
  return request({
    url: '/fx/dada/queryDeliverFee',
    method: 'get',
    params: query
  })
}

// 查询运费后下单
export function addAfterQuery(query) {
  return request({
    url: '/fx/dada/addAfterQuery',
    method: 'get',
    params: query
  })
}

// 查询订单详情
export function statusQuery(query) {
  return request({
    url: '/fx/dada/status/query',
    method: 'get',
    params: query
  })
}

// 取消订单
export function formalCancel(query) {
  return request({
    url: '/fx/dada/formalCancel',
    method: 'get',
    params: query
  })
}

// 商户确认物品已返还
export function confirmGoods(query) {
  return request({
    url: '/fx/dada/confirm/goods',
    method: 'get',
    params: query
  })
}

// 获取骑士配送信息H5页面
export function transporterTrack(query) {
  return request({
    url: '/fx/dada/transporter/track',
    method: 'get',
    params: query
  })
}

